package com.core.supplier;

/**
 * Created with IntelliJ IDEA.
 *
 * @author lxf
 * @date 2018/3/8 17:37
 * To change this template use Editor | File and Code Templates.
 */
public class cds {

    public static void main(String[] args) {
        D d = new D();
        d.say();
    }

}

interface A {
    default void say() {
        System.out.println("A say");
    }
}

interface B extends A {
    default void say() {
        System.out.println("B say");
    }
}

interface C extends A, B {

}

class D implements C {

}

